﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<CognisessDA.User>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Delete
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Delete</h2>

    <h3>Are you sure you want to delete this?</h3>
    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">Id</div>
        <div class="display-field"><%= Html.Encode(Model.Id) %></div>
        
        <div class="display-label">Username</div>
        <div class="display-field"><%= Html.Encode(Model.Username) %></div>
        
        <div class="display-label">Password</div>
        <div class="display-field"><%= Html.Encode(Model.Password) %></div>
        
        <div class="display-label">Firstname</div>
        <div class="display-field"><%= Html.Encode(Model.Firstname) %></div>
        
        <div class="display-label">Lastname</div>
        <div class="display-field"><%= Html.Encode(Model.Lastname)%></div>
        
        <div class="display-label">Avater</div>
        <div class="display-field"><%= Html.Encode(Model.Avater) %></div>
        
        <div class="display-label">AboutMe</div>
        <div class="display-field"><%= Html.Encode(Model.AboutMe)%></div>
        
        <div class="display-label">Email</div>
        <div class="display-field"><%= Html.Encode(Model.Email)%></div>
        
<%--        <div class="display-label">OrgId</div>
        <div class="display-field"><%= Html.Encode(Model.OrgId) %></div>
        
        <div class="display-label">LoginNum</div>
        <div class="display-field"><%= Html.Encode(Model.LoginNum) %></div>
        
        <div class="display-label">LastLogin</div>
        <div class="display-field"><%= Html.Encode(String.Format("{0:g}", Model.LastLogin)) %></div>
        
        <div class="display-label">CreateTime</div>
        <div class="display-field"><%= Html.Encode(String.Format("{0:g}", Model.CreateTime)) %></div>
        
        <div class="display-label">BirthDate</div>
        <div class="display-field"><%= Html.Encode(String.Format("{0:g}", Model.BirthDate)) %></div>
        
        <div class="display-label">Gender</div>
        <div class="display-field"><%= Html.Encode(Model.Gender) %></div>
        
        <div class="display-label">EducationLevel</div>
        <div class="display-field"><%= Html.Encode(Model.EducationLevel) %></div>
        
        <div class="display-label">IsMarried</div>
        <div class="display-field"><%= Html.Encode(Model.IsMarried) %></div>
        
        <div class="display-label">Occupation</div>
        <div class="display-field"><%= Html.Encode(Model.Occupation) %></div>
        
        <div class="display-label">Industry</div>
        <div class="display-field"><%= Html.Encode(Model.Industry) %></div>
        
        <div class="display-label">HowToKnowUs</div>
        <div class="display-field"><%= Html.Encode(Model.HowToKnowUs) %></div>
        
        <div class="display-label">TimeZone</div>
        <div class="display-field"><%= Html.Encode(Model.TimeZone) %></div>
        
        <div class="display-label">Address</div>
        <div class="display-field"><%= Html.Encode(Model.Address) %></div>
        
        <div class="display-label">IsTrial</div>
        <div class="display-field"><%= Html.Encode(Model.IsTrial) %></div>
        
        <div class="display-label">RemainingDay</div>
        <div class="display-field"><%= Html.Encode(Model.RemainingDay) %></div>
        
        <div class="display-label">IsActivated</div>
        <div class="display-field"><%= Html.Encode(Model.IsActivated) %></div>
        
        <div class="display-label">Telephone</div>
        <div class="display-field"><%= Html.Encode(Model.Telephone) %></div>
        
        <div class="display-label">Fax</div>
        <div class="display-field"><%= Html.Encode(Model.Fax) %></div>--%>
        
    </fieldset>
    <% using (Html.BeginForm()) { %>
        <p>
		    <input type="submit" value="Delete" /> |
		    <%= Html.ActionLink("Back to List", "Index") %>
        </p>
    <% } %>

</asp:Content>

